<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

   <h:body>
      <ui:composition template="WEB-INF/template/master.xhtml">

         <ui:define name="content">

            <div data-role="content" data-theme="a">


               <form>

                  <label>Bitte ID ihres Vorlesungsplanes eingeben:</label>
                  <input type="text" id="idschedule" label="ID eingeben:"/>
                  <input type="button" value="Weiter" onclick="weiterleiten()"/>

               </form>

            </div>

            <script type="text/javascript">
               function weiterleiten()
               {
                  var id = document.getElementById("idschedule");
                  //alert (id.value);
                  window.location = "day.xhtml?schedule="+ id.value;
               }//end function

            </script>

         </ui:define>

      </ui:composition>
   </h:body>
</html>
